﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Controller
{
    class Auth
    {

        private static Auth instance = null;

        //private bool mekaniker;
        //private bool administration;
        //private bool vaerkfoerer;

        //private int mekanikerNr;

        private Auth()
        {

        }

        public static Auth GetInstance()
        {
            if (instance == null)
                instance = new Auth();
            return instance;
        }

        public static Auth ResetInstance()
        {
            instance = new Auth();
            return instance;
        }

        public bool LoggetInd
        {
            get;
            set;
        }

        public bool Mekaniker
        {
            get;
            set;
        }

        public bool administration
        {
            get;
            set;
        }

        public bool VaerkFoerer
        {
            get;
            set;
        }

        public int MekanikerNr
        {
            get;
            set;
        }
    }
}
